jQuery(document).ready(function()
{
	var navigationPath = jQuery.cookie('_NAVIGATION_PATH');
	
	jQuery('.leftmenu ul li').removeClass('active');
	
	if (navigationPath)
	{
		if (navigationPath.indexOf('/founder') > -1)
		{
			jQuery('#founderNavigation').addClass('active');
			
			jQuery('.breadcrumb .active').text('창업주');
		}
		else if (navigationPath.indexOf('/foundation') > -1)
		{
			jQuery('#foundationNavigation').addClass('active');
			
			jQuery('.breadcrumb .active').text('매장');
		}
		else if (navigationPath.indexOf('/businesscard') > -1)
		{
			jQuery('#businessCardNavigation').addClass('active');
			
			jQuery('.breadcrumb .active').text('명함');
		}
		else if (navigationPath.indexOf('/security/identity') > -1)
		{
			jQuery('#securityIdentityNavigation').addClass('active');
			
			jQuery('.breadcrumb .active').text('계정');
		}
	}
	else
	{
		jQuery('.breadcrumb .active').text('대시보드');
	}
});